﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace TestWebApplication
{
    public class Constants
    {
        public const string CountriesLocation = "App_Data\\Countries.xml";

        public const string CertDir = "Certificate\\";

        public const string SettingsFileLocation = "App_Data\\Settings.xml";

        public const string CommerceAccountSuffix = "Commerce/Account/AccountWebService.svc";

        public const string CommercePaymentInstrumentSuffix = "Commerce/PaymentInstrument/PaymentInstrumentWebService.svc";

        public const string CommerceTransactionSuffix = "Commerce/Transaction/V1/TransactionWebService.svc";
        
        public const string CTPCommerceSuffix = "CTPCommerce/CommerceAPI.svc";

        public const string ItemFileLocation = "App_Data\\Items.xml";

        public const string MarketPlaceName = "test_spsp_css";

        public const string MarketPlaceGuid = "e57d1b94-9770-4302-8f75-0e409fbf9aa6";

        public const string WebsiteUrl = "http://localhost:6789/";

        public const string PCSOneboxUrl = "https://buy.live-int.com/PCSV2/default/liverps/pcs/managepi?mkt={0}&ru={1}&rx=https://buy.live-int.com/PCS/blank.htm&piid=0&accountid={2}";

        public const string PCSIntUrl = "https://buy.live-int.com/PCS/uihost.cex?mkt={0}&partner=wldefault&flow=pcs&ru={1}&rx=https://buy.live-int.com/PCS/blank.htm&pitype={2}&piid=0&accountid={3}";

        public const string PCSProductionUrl = "https://buy.live.com/PCS/uihost.cex?mkt={0}&partner=wldefault&flow=pcs&ru={1}&rx=https://buy.live.com/PCS/blank.htm&pitype={2}&piid=0&accountid={3}";

        public const string TestBoletoPIID = "AAAAAAAAAAABAADw";

        public const string TestOnlineBankBancodoBrasilPIID = "AAAAAAAAAAACAADw";

        public const string TestOnlineBankBradescoPIID = "AAAAAAAAAAACAADw";

        public const string TestOnlineBankItauPIIDBradesco = "AAAAAAAAAAAEAADw";

        public const string TestMercadoPagoPIID = "AAAAAAAAAAAFAADw";

        public const string AsyncPurchaseFileLocation = "AsyncResult.html";

        public static string[] AsyncPropertyNames = new string[2] { "HTMLNetBanking", "HTMLBoleto"};

        public const string successUrl = WebsiteUrl + "PurchaseSuccess.aspx";

        public const string failureUrl = WebsiteUrl + "PurchaseFailure.aspx";



    }
}